package com.selebash.features;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * @author sad
 */
public class FeatureFactory {
    public Object create(Class clazz){
        try {
            return clazz.newInstance();
        } catch (InstantiationException ex) {
            throw new RuntimeException(ex);
        } catch (IllegalAccessException ex) {
            throw new RuntimeException(ex);
        }
    }
}
